<#setting number_format="#">
<table class="table-form four-column active" style="width:100%;" ctltype="rx-four-table" id="ngrclkt017280" borders="noborder">
    <caption>
        ${ent.name}
    </caption>
    <colgroup>
        <col width="15%"/>
        <col width="35%"/>
        <col width="15%"/>
        <col width="35%"/>
    </colgroup>
    <#assign flag=0>
    <#list ent.boAttrList as field>
        <#if (field.control!='rx-ref')>
            <#if (!field.spans || field.spans==1)>
                <#if (field_index ==0 || flag==0) >
                    <tr <#if (field_index==0)>class="firstRow"</#if>>
                </#if>
                <td style="word-break: break-all;" <@fieldReqired field=field/> >
                    ${field.comment}
                </td>
                <td>
                    <#assign flag++>
                    <@fieldCtrl field=field type='main' />
                </td>
                <#if ((field_index ==0 && !field_has_next && ent.boAttrList[field_index+1].spans==2) || (ent.boAttrList[field_index-1].spans==2 && !field_has_next && ent.boAttrList[field_index+1].spans==2 ) ) >
                    <td></td>
                    <td></td>
                </#if>
                <#if !field_has_next || (field_index ==0  && ent.boAttrList[field_index+1].spans==2)||
                (field_index !=0  && ent.boAttrList[field_index-1].spans==1 && ent.boAttrList[field_index+1].spans==2)||
                (field_index !=0  && ent.boAttrList[field_index-1].spans==2 && ent.boAttrList[field_index+1].spans==2)||
                (field_index !=0 && ent.boAttrList[field_index+1].spans==1 && flag==2) >
                    <#assign flag=0>
                    </tr>
                </#if>
            <#else>
                <tr class="firstRow">
                    <td style="word-break: break-all;" <@fieldReqired field=field/>>
                        ${field.comment}
                    </td>
                    <td rowspan="1" colspan="3">
                        <@fieldCtrl field=field type='main' />
                    </td>
                </tr>
            </#if>
        </#if>
    </#list>
    </tbody>
</table>







